from apscheduler.schedulers.background import BackgroundScheduler
from apps.Recommend.views import modelmake


def modelupdate():
    schedule = BackgroundScheduler()
    schedule.add_job(modelmake, 'cron', hour='23', minute='59', second='59')
    schedule.start()
